package com.cf.game.im.model;

import com.cf.code.core.CField;
import com.cf.crud.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * boot-awm-UserConfig
 * 用户配置
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/6/29 下午 03:22
 */
@Entity
@Table(name = "userImConfig")
public class UserImConfig extends BaseEntity {

    @Column(name = "userId")
    private long userId;

    @Column(name = "receiveTemporaryMsg")
    @CField(lab = "接收临时会话", type = "boolean")
    private boolean receiveTemporaryMsg;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public boolean getReceiveTemporaryMsg() {
        return receiveTemporaryMsg;
    }

    public void setReceiveTemporaryMsg(boolean receiveTemporaryMsg) {
        this.receiveTemporaryMsg = receiveTemporaryMsg;
    }
}
